package com.aaa.ssm.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author lj
 * @date 2021/11/26 22:08
 */
@Data
public class Permission implements Serializable {
    private Integer id;
    private Integer pid;
    private String pname;
    private String icon;
    private String type;
    private String url;
    private Integer state;

    private List<Permission> subMenu =new ArrayList<>();

}
